package cz.jm.web.manhunter.server.authentication;

import java.io.Serializable;



@SuppressWarnings("serial")
public class Authentication implements Serializable {
	private long accountId = Account.INVALID_ID;
	private String password;
	private Account account;
	
	public Authentication() { }
	
	public Authentication(Account account, String password) {
//		this.accountId = account.getId();
	    this.account = account;
	    this.password = password;
    }
	
	public Account getAccount() {
    	return account;
    }
	public void setAccount(Account account) {
    	this.account = account;
    }
	public String getPassword() {
    	return password;
    }
	public void setPassword(String password) {
    	this.password = password;
    }
	public long getAccountId() {
    	return accountId;
    }

	public void setAccountId(long accountId) {
    	this.accountId = accountId;
    }
}
